2020-2021 Sunseeker Telemetry and Lighting System
dac12_a_ex2_0V75Out.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

DAC12_A - 0.75V Output on DAC12_A

MSP430F6638 Example Using DAC12_A_1 and 1.5V reference with a gain of 1, output 0.75V on DAC1. ACLK = n/a, MCLK = SMCLK = default DCO

          MSP430F66x
      -----------------
  /|\|              XIN|-
   | |                 |
   --|RST          XOUT|-
     |                 |
     |        P7.7/DAC1|-> 0.75V
     |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • DAC12_A peripheral
  • GPIO Port peripheral
  • DAC1

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 64 of file dac12_a_ex2_0V75Out.c.

References __delay_cycles(), and param.